package com.shop.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.entity.dto.WeChatCart.UserCartRemoveDto;
import com.shop.entity.dto.WeChatCart.UserCartSaveDto;
import com.shop.entity.dto.WeChatCart.UserCartUpdateNumDto;
import com.shop.entity.pojo.Cart;
import com.shop.entity.vo.CartVo;
import com.shop.utils.common.result.Result;

import java.util.List;


public interface CartService extends IService<Cart> {

    Result addCart(UserCartSaveDto dto);
    Result<List<CartVo>> getCart();
    Result updateCartNum(UserCartUpdateNumDto dto);
    Result delCart(UserCartRemoveDto dto);

}
